<script setup>
    const emits = defineEmits(["getWeb", "userAdd"])
    emits("getWeb", {name: "laoer", url: "child.laoer.com"})

    const add = ()=>{
        emits("userAdd", 10)
    }
</script>

<template>
    <h3>Child</h3>
    <button @click="add">Child Add User</button>
</template>

<style scoped>

</style>